export const getToken = (key="token") => {
    return  sessionStorage.getItem(key) ? "Bearer " +  sessionStorage.getItem(key) : ''
}

export const getKeyUserInfo = (key="userInfo") => {
    return sessionStorage.getItem(key)
}


export const setKeyItem = (key="token", value) => {
    return sessionStorage.setItem(key, value)
}